/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/views/layout/Layout'

const systemManage = {
  path: '/hallManage',
  component: Layout,
  alwaysShow: true,
  name: '公会管理',
  redirect: 'noredirect',
  meta: {
    title: '公会管理',
    icon: 'component',
    resources: 'unionManage'
  },
  children: [
    {
      path: 'directUser',
      component: () => import('@/views/hall-manage/directUser'),
      name: '用户列表',
      meta: { title: '用户列表', icon: 'my-sysmenu', noCache: true, resources: 'directUser' }
    },
    {
      path: 'joinapply',
      component: () => import('@/views/hall-manage/joinapply'),
      name: '我的公会',
      meta: { title: '我的公会', icon: 'my-sysmenu', noCache: true, resources: 'joinapply' }
    },
    {
      path: 'joinlistUser',
      component: () => import('@/views/hall-manage/joinlistUser'),
      name: '用户加入申请',
      meta: { title: '用户加入申请', icon: 'my-sysmenu', noCache: true, resources: 'joinlistUser' }
    },
    {
      path: 'outlistUser',
      component: () => import('@/views/hall-manage/outlistUser'),
      name: '用户退出申请',
      meta: { title: '用户退出申请', icon: 'my-sysmenu', noCache: true, resources: 'outlistUser' }
    },
    {
      path: 'hallWater',
      component: () => import('@/views/hall-manage/hallWater'),
      name: '厅流水',
      meta: { title: '厅流水', icon: 'my-sysmenu', noCache: true, resources: 'hallWater' }
    },
    {
      path: 'userWater',
      component: () => import('@/views/hall-manage/userWater'),
      name: '成员流水',
      meta: { title: '成员流水', icon: 'my-sysmenu', noCache: true, resources: 'userWater' }
    }
  ]
};

export default systemManage
